home *** CD-ROM | disk | FTP | other *** search
- MyLib/memchr MyLib/memchr
-
- NAME
- memchr - locate byte in byte string
-
- SYNOPSIS
- #include <string.h>
-
- void *memchr(const void *Memory, int Byte, size_t Length);
-
- FUNCTION
- Locates the first occurence of "Byte" (converted to an unsigned char).
-
- INPUTS
- Memory - the memory to search
- Byte - the byte to look out for
- Length - the length of the memory area
-
- RESULT
- A pointer to the byte located, or NULL if no such byte exists within
- length bytes.
-
- STANDARDS CONFORMANCE
- ANSI C3.159-1989, ISO 9899-1990
-